POV-Ray : Newsgroups : povray.general : Rendering Smoke : Re: Rendering Smoke Server Time
5 Nov 2024 18:28:35 EST (-0500)
  Re: Rendering Smoke  
From: Tim Nikias
Date: 26 Feb 2003 20:14:48
Message: <3e5d6688$1@news.povray.org>
You got to use scattering media then. It calculates
the intensity of color in relation to the light which
passes through the dense regions of the media.

But you've got to know that its more intensive tracing
than for tracing emission and absorption.
Its also pretty hard to tweak.

I'll come back to you tomorrow, but perhaps you might
want to look at my Worldbowl-Images I've just recently
posted in binaries.images. The clouds inside the worldbowl
are modelled using scattering/emission media.

Regards,
Tim

PS: You definitely need to make that programm a
utility, lots of people are DYING to find something like
realistic smoke behaviour for POV...

--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmxde

> I have developed a 3d smoke simulation system based (based on fluid
> mechanics) and would like to use POV to render some scences that it
> generates.  It generates density map files and at the moment I am using
the
> code included below to render the smoke.  However, it is very uniform and
> boring.  I want to be able to light the smoke from a direction I choose
> (maybe to make it look something like the smoke in the Pearl Harbour image
> in the hall of fame).  I would also like to be able to control the opacity
> and colour of the smoke.
>
> Any help would be very much appreciated as it is for a university project.
> Hopefully I can develop this pacakage further and make it into a useful
> utility for POV.
>
> James Murphy
>
> Code:
>
> box
> {
>         <-5,-5,-5>, <5,5,5>
>         hollow on
>         texture {Container_T}
>         interior
>         {
>            media
>            {
>             emission <0,0,0>
>             absorption <1,1,1>
>             intervals 3
>             //samples 1,1
>
>             scattering {1, 0.5}
>             density
>             {
>                     density_file df3 "c:\project\smokeB\df3\frame0078.df3"
>                     translate <-0.5, -0.5, -0.5>
>                     scale 10
>             }
>           }
>         }
> }
>
> (there is also a light specified etc.)
>
>


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.